package com.rtwo.beauty;

import android.app.Application;
import android.content.Context;

import com.orhanobut.logger.Logger;

/**
 * rtwo 创建于 2016/4/12 15:27
 */
public class MyApplication extends Application{

    private static Context context;

    @Override
    public void onCreate() {
        super.onCreate();
        context = getApplicationContext();
        Logger.init();
        Logger.d("logger初始化");
    }

    public static Context getContext(){
        return context;
    }
}
